package com.yx.service;

import com.yx.entity.Person;

import java.sql.SQLException;
import java.util.List;

/**
 * @Classname PersonService
 * @Description TODO:
 * @Date 2021/05/18 10:58
 * @Created by yx
 */
public interface PersonService {
    List<Person> getAll();
    Person getPersonById(Integer id);
    Integer deletePerson(Integer id) throws SQLException;
    Integer updatePerson(Person person);
    Integer insertPerson(Person person);
}
